/*
 * @(#)ProgressActionEvent.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.core;

import java.util.EventObject;
/**
 * ProgressActionEvent.java
 *
 * Action Event of a workflow progress
 *
 * @author          Rollo Chan
 * @company         DCIVision Limited
 * @creation date   06/10/2003
 * @version         $Revision: 1.4 $
 */
public class ProgressActionEvent extends EventObject {
  
  public static final String REVISION = "$Revision: 1.4 $";
  
  private Object command;
  private Object[] params = new Object[0];
  /**
   * Constructor
   * 
   * @param source
   */
  public ProgressActionEvent(Object source) {
    super(source);
  }
  /**
   * Constructor
   * 
   * @param source
   * @param command
   * @param params
   */
  public ProgressActionEvent(Object source, Object command, Object[] params) {
    super(source);
    this.command = command;
    this.params = params;
  }
  /**
   * Gets a object
   * @return object
   */
  public Object getCommand() {
    return command;
  }
  /**
   * Gets a object array
   * @return object array
   */
  public Object[] getParams() {
    return params;
  }
}